package com.chenye.generator;

/**
 * @Auther:chenye
 * @Data:2018/7/9
 * @Description:
 */
public class NumGenerator<T extends Number> implements Generator<T>{
    private T num;

    public T getNum() {
        return num;
    }

    public void setNum(T num) {
        this.num = num;
    }

    public NumGenerator(T num) {
        this.num = num;
    }

    @Override
    public T get() {
        return num;
    }
}
